<form id="form2" name="form2" method="post" action="pages/visualizar_movimentacao.php">
    <table width="1024" border="0" align="center">
        <tr>
            <td width="163" align="left">Requisição</td>
            <td width="851"><label>
                    <select name="requisicao" id="requisicao">
                        <?php
                        require_once ('../dao/RequisicaoDaoImp.class.php');
                        $depDao = new RequisicaoDaoImp;
                        $result = $depDao->buscarTodos();

                        foreach ($result as $row) {
                        ?>
                            <option value='<?php echo $row['idRequisicao']; ?>'>
                            <?php
                            echo $row['descricao'];
                            ?>
                        </option>
                        <?php } ?>
                    </select>
                </label></td>
        </tr>
        <tr>
            <td align="left">Categoria</td>
            <td><label>
                    <select name="lista_categoria" id="lista_categoria">
                       
                    </select>
                </label></td>
        </tr>
        <tr>
            <td align="left">Valor</td>
            <td><label>
                    <input type="text" name="valor" id="valor" />
                </label></td>
        </tr>
        <tr>
            <td align="left">Descrição</td>
            <td><label>
                    <input type="text" name="descricao" id="descricao" />
                </label></td>
        </tr>
       
        <tr>
            <td align="left">Dpto. Origem</td>
            <td><label>
                    <select name="depOrigem" id="lista_origem">
                    </select>
                </label></td>
        </tr>
        <tr>
            <td align="left">Dpto. Destino</td>
            <td><label>
                    <select name="depDestino" id="lista_destino">
                    </select>
                </label></td>
        </tr>
        <tr>
            <td align="left">Data</td>
            <td><label>
                    <input type="text" name="data" id="data" />
                </label></td>
        </tr>
        <tr>
            <td align="left"><input type="submit" value="Cadastrar" /></td>
          
        </tr>
    </table>
</form>

